home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / standard / fpc.z / fpc
Encoding:
Text File  |  1998-10-30  |  3.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. FFFFPPPPCCCC((((3333CCCC))))                                                                FFFFPPPPCCCC((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      fpc: get_fpc_csr, set_fpc_csr, get_fpc_irr, swapRM, swapINX - floating-
  10.      point control registers
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ffffppppuuuu....hhhh>>>>
  14.  
  15.      iiiinnnntttt ggggeeeetttt____ffffppppcccc____ccccssssrrrr((((vvvvooooiiiidddd))));;;;
  16.  
  17.      iiiinnnntttt sssseeeetttt____ffffppppcccc____ccccssssrrrr((((iiiinnnntttt ccccssssrrrr))));;;;
  18.  
  19.      iiiinnnntttt ggggeeeetttt____ffffppppcccc____iiiirrrrrrrr((((vvvvooooiiiidddd))));;;;
  20.  
  21.      iiiinnnntttt sssswwwwaaaappppRRRRMMMM((((iiiinnnntttt xxxx))));;;;
  22.  
  23.      iiiinnnntttt sssswwwwaaaappppIIIINNNNXXXX((((iiiinnnntttt xxxx))));;;;
  24.  
  25. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.      These routines are to get and set the floating-point control registers of
  27.      MIPS floating-point units.  All of these routines take and or return
  28.      their values as 32 bit integers.
  29.  
  30.      The file <_s_y_s/_f_p_u._h> contains unions for each of the control registers.
  31.      Each union contains a structure that breaks out the bit fields into the
  32.      logical parts for each control register.  This file also contains
  33.      constants for fields of the control registers.
  34.  
  35.      All implementations of MIPS floating-point have a _c_o_n_t_r_o_l _a_n_d _s_t_a_t_u_s
  36.      register and a _i_m_p_l_e_m_e_n_t_a_t_i_o_n _r_e_v_i_s_i_o_n register.  The _c_o_n_t_r_o_l _a_n_d _s_t_a_t_u_s
  37.      register is returned by _g_e_t__f_p_c__c_s_r. The routine _s_e_t__f_p_c__c_s_r sets the
  38.      _c_o_n_t_r_o_l _a_n_d _s_t_a_t_u_s register and returns the old value.  The
  39.      _i_m_p_l_e_m_e_n_t_a_t_i_o_n _r_e_v_i_s_i_o_n register is read-only and is returned by the
  40.      routine _g_e_t__f_p_c__i_r_r.
  41.  
  42.      The routine _s_w_a_p_R_M sets only the rounding mode and returns the old
  43.      rounding mode.  The routine _s_w_a_p_I_N_X sets only the sticky inexact bit and
  44.      returns the old one.  The bits in the arguments and return values to
  45.      _s_w_a_p_R_M and _s_w_a_p_I_N_X are right justified.
  46.  
  47. NNNNOOOOTTTTEEEESSSS
  48.      _s_w_a_p_R_M and _s_w_a_p_I_N_X are in _l_i_b_m._a . The link editor searches this library
  49.      under the "-lm" option.
  50.  
  51. AAAALLLLSSSSOOOO SSSSEEEEEEEE
  52.      R4000 Microprocessor User's Manual
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.